//
//  URL.h
//  AGPastime
//
//  Created by Ager on 15/11/25.
//  Copyright © 2015年 Ager. All rights reserved.
//

#ifndef URL_h
#define URL_h

/**
 *  接口地址
 */
#define kNewsURL @"http://c.m.163.com/"

/**
 *  新闻头条
 */
#define kNewsURLHeadLine @"http://c.m.163.com/nc/article/headline/T1348647909107/"

#define kNewsPhoto @"http://c.m.163.com/photo/api/set/%@/%@.json"

/**
 *  头条新闻
 */
#define kNewsHeadLineKey @"T1348647909107"



//娱乐
#define kNewsURLEntertainment @"http://c.3g.163.com/nc/article/list/T1348648517839/"
#define kNewsEntertainmentKey @"T1348648517839"

//科技
#define kNewsURLKeji @"http://c.m.163.com/nc/article/list/T1348649580692/"
#define kNewsKejiKey @"T1348649580692"

//时尚
#define kNewsURLShiShang @"http://c.m.163.com/nc/article/list/T1348650593803/"
#define kNewsShiShangKey @"T1348650593803"

//lishi
#define kNewsURLlishi @"http://c.3g.163.com/nc/article/list/T1368497029546/"
#define kNewsLiShiKey @"T1368497029546"

//健康
#define kNewsURLJianKang @"http://c.3g.163.com/nc/article/list/T1414389941036/"
#define kNewsJianKangKey @"T1414389941036"


#pragma mark --- 融云 ---

#define kRongCloudURL @"https://api.cn.ronghub.com/"


#pragma mark --- Book ---
//分类
//精品-重磅推荐
#define kBookTuijian @"http://client.ikanshu.cn/teshuapi/rest/cbooks/getbdbooksbytime?cnid=1045&num=0"

//精品-古装言情
#define kBookYanqing @"http://client.ikanshu.cn/teshuapi/rest/cbooks/getbdbooksbytime?cnid=1045&num=1"

//精品-玄剑奇侠
#define kBookQixia @"http://client.ikanshu.cn/teshuapi/rest/cbooks/getbdbooksbytime?cnid=1045&num=2"

//精品-历史游戏
#define kBookLishi @"http://client.ikanshu.cn/teshuapi/rest/cbooks/getbdbooksbytime?cnid=1045&num=3"

//精品-最新上架
#define kBookNew @"http://client.ikanshu.cn/teshuapi/rest/cbooks/getbdbooksbytime?cnid=1045&num=4"

//排行榜
#define kHotBook @"http://client.ikanshu.cn/teshuapi/rest/books/getpaihangbooks?cnid=1045&parentid=4"

//搜索
#define kSearchBookKey @"http://client.ikanshu.cn/teshuapi/rest/books/getsearch?cnid=1045&keyword=%@&offset=%ld&count=99"

#define kSearchBook @"http://client.ikanshu.cn/teshuapi/rest/books/getpaihangbooks?cnid=1045&parentid=6"

//目录

#define kBookContents @"http://client.ikanshu.cn/teshuapi/rest/books/getvolumecharge?cnid=1045&bookid=%@"

//章节信息
#define kBookChapterInfo @"http://client.ikanshu.cn/teshuapi/rest/books/getchapter?cnid=1045&chapterid=%@"







//图片
#define kImageUrl @"http://cdn.ikanshu.cn/211/images/"




#define kUmengKey @"5659711267e58ec800006a69"


#endif /* URL_h */
